package cn.team.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message {
    public String receiveName;
    public String content;
    public String sendName;
    public String type;
    public boolean isGroup;

    public String getReceiveName() {
        return this.receiveName;
    }

    public void setReceiveName(String receiveName) {
        this.receiveName = receiveName;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSendName() {
        return this.sendName;
    }

    public void setSendName(String sendName) {
        this.sendName = sendName;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public boolean isIsGroup() {
        return this.isGroup;
    }

    public boolean getIsGroup() {
        return this.isGroup;
    }

    public void setIsGroup(boolean isGroup) {
        this.isGroup = isGroup;
    }

    @Override
    public String toString() {
        return "{" +
            " receiveName='" + getReceiveName() + "'" +
            ", content='" + getContent() + "'" +
            ", sendName='" + getSendName() + "'" +
            ", type='" + getType() + "'" +
            ", isGroup='" + isIsGroup() + "'" +
            "}";
    }
    
}
